page {
    background-color: #fdf7f7;
}

.van-dropdown-item__option {
    text-align: left;
    background: #db2828;
    color: #fff;
    width: 155rpx;
}

.van-dropdown-item__option--active {
    background: #fff;
    color: #db2828;
    width: 155rpx;
}

// 头部样式
.header {
    display: flex;
    margin-top: 40rpx;

    .scan {
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #f491bf;
        border-radius: 50rpx;
        height: 80rpx;
        width: 300rpx;
        color: white;

        .scan_img {
            width: 40rpx;
            height: 40rpx;
            margin-right: 20rpx;
        }
    }

    .input {
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50rpx;
        border: 2rpx solid #e2e2e2;
        height: 80rpx;
        width: 300rpx;
        color: #5f5f5f;
        background-color: #fff;

        .input_img {
            width: 40rpx;
            height: 40rpx;
            margin-right: 20rpx;
        }
    }
}

// 遮罩层的样式
.mask {
    width: 100%;
    height: 100%;
    background-color: rgba(56, 55, 55, 0.651);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
}

// 弹窗的样式
.windows {
    width: 90%;
    height: 950rpx;
    background-color: white;
    position: absolute;
    top: 150rpx;
    z-index: 95;
    display: flex;
    flex-direction: column;
    margin-left: 38rpx;
    border-radius: 25rpx;

    // 取消和确认的按钮
    .up {
        display: flex;
        justify-content: space-between;
        margin: 20rpx 40rpx 0rpx 40rpx;

        .cancel {
            width: 120rpx;
            height: 50rpx;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #808080;
            border-radius: 50rpx;
            background-color: #fff;
            font-size: 30rpx;
            border: 1rpx solid #b8b4b4;
        }

        .closeWin {
            width: 120rpx;
            height: 50rpx;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff;
            border-radius: 50rpx;
            background-color: #f491bf;
            font-size: 30rpx;
        }
    }

    // 输入书名
    .inBookName {
        margin: 40rpx 40rpx 0 40rpx;
        height: 50rpx;
    }

    // 上传照片
    .inBookImg {
        display: flex;
        margin-left: 40rpx;
        margin-top: 40rpx;
        margin-bottom: 10rpx;

        .photos {
            display: flex;
        }

        .inBookImgText {
            color: #878b8e;
            font-size: 30rpx;
            width: 330rpx;
        }
    }

    // 新旧程度
    .level {
        display: flex;
        overflow: hidden;
        border-top: 1rpx solid #faddeb;
        margin: 0 40rpx;
        margin-top: 10rpx;
        padding-bottom: 5rpx;
        // border-bottom: 1rpx solid #faddeb;
        height: 50rpx;
        align-items: center;
        justify-content: space-between;

        .levelText {
            display: flex;

            .levelIcon {
                width: 40rpx;
                height: 40rpx;
                margin-top: 8rpx;
            }

            .levelText1 {
                margin-right: 10rpx;
                margin-left: 10rpx;
                margin-top: 7rpx;
            }

            .levelText2 {
                margin-top: 16rpx;
                font-size: 25rpx;
            }
        }

        .levelSelect_wrap {
            width: 200rpx;
            margin-top: 10rpx;
            margin-left: 20rpx;
            overflow: hidden;

            .levelSelect {
                .selectOld {
                    z-index: 10;
                    top: 700rpx;
                }

                .van-dropdown-item--down {
                    bottom: 0;
                }

                .van-dropdown-item {
                    left: 231px;
                    overflow: hidden;
                    position: fixed;
                    right: 0;
                    width: 250rpx;
                    height: 250rpx;

                    .van-dropdown-item__option {
                        width: 155rpx;
                    }

                    .van-dropdown-item__option--active {
                        width: 155rpx;

                        .van-dropdown-item__title {
                            color: var(--dropdown-menu-option-active-color, #ee0a24);
                            width: 190rpx;
                        }
                    }

                }
            }
        }
    }

    // 备注
    .remark_wrap {
        margin-left: 40rpx;
        margin-top: 10rpx;
        display: flex;
        border-top: 1rpx solid #faddeb;
        .levelIcon {
            width: 40rpx;
            height: 40rpx;
            margin-top: 8rpx;
        }
        .inRemark{
            margin-left: 10rpx;
            margin-top: 5rpx;
        }
    }

    .inPrice {
        margin-top: 10rpx;
        margin-left: 40rpx;
        border-top: 1rpx solid #faddeb;
        border-bottom: 1rpx solid #faddeb;
        display: flex;
        height: 50rpx;
        padding-top: 10rpx;

        .inPriceIcon {
            width: 40rpx;
            height: 40rpx;
        }

        .inPricetext {
            margin-left: 10rpx;
        }
    }

    .input {
        margin: 10rpx 20rpx;
        font-size: 40rpx;
    }


}

// 中间渲染的样式
.product-container {
    .product-top_wrap {
        margin: 20rpx 0rpx 20rpx 40rpx;
        display: flex;

        .downIcon {
            width: 40rpx;
            height: 40rpx;
            margin-right: 20rpx;
            margin-top: 8rpx;
        }

        .Down {
            font-size: 40rpx;
            font-weight: bolder;
            color: #f491bf;
        }

        .deleteBook{
            width: 130rpx;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            border-radius: 50rpx;
            background-color: #f491bf;
            margin-left: 200rpx;
            font-size: 30rpx;
        }

        .down {
            width: 130rpx;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            border-radius: 50rpx;
            background-color: #f491bf;
            margin-left: 30rpx;
            font-size: 30rpx;
        }
    }

    .product-item-wrap {
        display: flex;
        background-color: white;
        padding: 10rpx 0rpx;
        width: 90%;
        margin-left: 35rpx;
        border-radius: 50rpx;
        margin-bottom: 20rpx;

        .selector {
            margin-left: 10rpx;
            width: 80rpx;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fd575b;
        }

        .product_img {
            margin-top: 10rpx;
            margin-left: 10rpx;
            margin-bottom: 10rpx;
            display: flex;
            justify-content: center;
            align-items: center;

            .goods-img {
                height: 260rpx;
                width: 200rpx;
            }
        }

        .product-movable-item {
            padding-left: 20rpx;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            font-size: 40rpx;

            .goods-name {
                display: -webkit-box;
                overflow: hidden;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 1;
                color: black;
                font-weight: bolder;
                font-size: 35rpx;
            }

            /* 标签的样式 */
            .goods_bottom1,
            .goods_bottom2 {
                display: flex;
                margin-top: 10rpx;
                font-size: 25rpx;
                width: 390rpx;
                justify-content: space-between;

                .goods_cover,
                .goods_injure,
                .goods_notes,
                .goods_edition {
                    border-radius: 25rpx;
                    background-color: #f1f3f7;
                    width: 180rpx;
                    display: flex;
                    justify-content: center;
                }
            }

            .goods-price {
                color: rgb(237, 58, 58);
                display: flex;
                justify-content: space-between;
            }
        }
    }

    // 删除的样式
    .delete {
        font-size: 40rpx;
        color: white;
        margin: 120rpx 20rpx;
    }


}